# {{ helm_common_args }}

bootstrapPassword: "{{ rancher.bootstrap_password }}"

hostname: "{{ rancher.hostname }}"

rancherImage: "{{ nexus_docker_proxy | default('') }}rancher/rancher:{{ rancher_version }}"

ingress:
  tls:
    source: "{{ rancher.tls_mode }}"

{% if rancher.tls_mode == 'letsEncrypt' %}
letsEncrypt:
  email: "{{ letsEncrypt.email }}"
  environment: "{{ letsEncrypt.environment | default('production') }}"
{% endif %}

privateCA: {{ rancher.privateCA | lower }}

replicas: -1

auditLog:
  image:
    repository: "{{ nexus_docker_proxy | default('regstry.suse.com/') }}bci/bci-micro"
    tag: "{{ auditLog.image.tag }}"

useBundledSystemChart: true

{% if nexus_docker_proxy is defined %}
systemDefaultRegistry: "{{ nexus_docker_proxy | replace('/', '') }}"
{% endif %}